/*
 * IN_CAN.h
 *
 *  Created on: 2019?1?9?
 *      Author: xzhang
 */

#ifndef APP_INCAN_IN_CAN_H_
#define APP_INCAN_IN_CAN_H_
#include "includes.h"

#define   BMU_TOTAL_DATA_ID  	  0x0C000000
#define   BMU_OTHER_DATA_ID  	  0x18000000

#define   CAN_BMUBLSEN_ID         0x080

#define   CAN_BMUBLSDIS_ID        0x182  //No use


#define	  CAN_BMU_VOL1_RXID		  0x020  //0x21-0x2F  ????

#define	  CAN_BMU_VOL2_RXID		  0x030  //0x30-0x3F  ????

#define	  CAN_BMU_TEMP_RXID		  0x040  //0x41-0x4F  ????

#define   CAN_BMU_BDVOL_RXID      0x050  //0X51-0x5F  ???????

#define	  CAN_BMU_BDTEM_RXID	  0x060  //0x61-0x6F  ?????

#define   CAN_BMU_BLSTA_RXID      0x070  //0X71-0x72,????

#define	  CAN_BMU_REV_RXID		  0x0A0  //0x6A1 1??????  0x6A2  2??????

extern    BMU_DATA BMUData[BMU_MAX_SERNUM + 1] ;

extern    CAN_RXBUF   INCanRxMsgBuf;

extern    uint8_t     bottv_ms_InCanRFre;

extern void Inter_CANMsgRx(void);
extern void Inter_CANMsgTx(void);


#endif /* APP_INCAN_IN_CAN_H_ */
